#if 1


int test_TLV ()
{
	UINT i =0;
	UINT j =0;
	UINT ret = 0;
	UINT Tag = 0;
	UINT len =0;
	UINT lenMap =0;
	UINT entityLength =0;
	TLVEntity *tlvEntity;
//	TLVEntity *tmpTlv;
	 UCHAR* newbuffer;
	 //unsigned char * buffer1;
	
	//char buffer[] = "7081B49F4681B03E0C64F2979D9F73C6D43C3ED73F1C7AA3EA2FB196F15F181B4153F498F838FFA1E528462594484DCA1517E89236E0B4E4B97067E0BC7C166B6AE482F1855D4F830159E847FDB42D6994ACEF865D2BAA5D94A9AE7BD8BDA1B091DFED73B552743ED59F4085D635EE5FF2CF412989BDEF5F39EFD4159DDA0843E690A71C5057D7E8134D75D3EF53956EA9F975837ED66D47C919002FEB137516CEB6988D486B2F57DB7D7570459C1D2FF8DC68FA387525";
	char buffer[] = "6F458408A000000333010106A539500A50424F432044454249548701019F38099F7A019F02065F2A025F2D027A689F1101019F120A50424F43204445424954BF0C059F4D020B0A";
	len=strlen(buffer);
	tlvEntity = (TLVEntity *)MALLOC (sizeof(TLVEntity));
	MEMSET (tlvEntity,0,sizeof(TLVEntity));
	//FPRINTF (OUT_MODE,"\r\n the len is %d \r\n",len);

	newbuffer = (UCHAR *)MALLOC ((len/2)*sizeof(UCHAR));

	ret = CharToInt ((UCHAR *)buffer,newbuffer);

	/*for (i=0;i<len/2;i++)
	{
		FPRINTF (OUT_MODE,"%02x", newbuffer[i]);
	}*/

	FPRINTF (OUT_MODE,"\r\n");
	TLVPackageConstruct((UCHAR *)newbuffer, len/2, tlvEntity, 1);

	PBOC_Test_PrintfTlv(tlvEntity);
	
	return 0;
}
#endif